import request from '@/utils/request'

// 获取省市区数据
export function getRegionList(id) {
  return request({
    url: '/bookkeeping/region/getRegionList?id=' + id,
    method: 'get'
  })
}

// 通过街道获取农场列表
export function listFarmByStreetRegion(id) {
  return request({
    url: '/bookkeeping/region/listFarmByStreetRegion?regionId=' + id,
    method: 'get'
  })
}
